Optimal. Leaf size=38 \[ -\frac {(b c-a d) (c+d x)^4}{4 d^2}+\frac {b (c+d x)^5}{5 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {45}
\begin {gather*} \frac {b (c+d x)^5}{5 d^2}-\frac {(c+d x)^4 (b c-a d)}{4 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int (a+b x) (c+d x)^3 \, dx &=\int \left (\frac {(-b c+a d) (c+d x)^3}{d}+\frac {b (c+d x)^4}{d}\right ) \, dx\\ &=-\frac {(b c-a d) (c+d x)^4}{4 d^2}+\frac {b (c+d x)^5}{5 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 67, normalized size = 1.76 \begin {gather*} a c^3 x+\frac {1}{2} c^2 (b c+3 a d) x^2+c d (b c+a d) x^3+\frac {1}{4} d^2 (3 b c+a d) x^4+\frac {1}{5} b d^3 x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.98, size = 60, normalized size = 1.58 \begin {gather*} x \left (a c^3+\frac {c^2 x \left (3 a d+b c\right )}{2}+\frac {d^2 x^3 \left (a d+3 b c\right )}{4}+\frac {b d^3 x^4}{5}+c d x^2 \left (a d+b c\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(72\) vs.
\(2(34)=68\).
time = 0.12, size = 73, normalized size = 1.92
method | result | size |
norman | \(\frac {b \,d^{3} x^{5}}{5}+\left (\frac {1}{4} a \,d^{3}+\frac {3}{4} b c \,d^{2}\right ) x^{4}+\left (a c \,d^{2}+b \,c^{2} d \right ) x^{3}+\left (\frac {3}{2} a \,c^{2} d +\frac {1}{2} b \,c^{3}\right ) x^{2}+a \,c^{3} x\) | \(70\) |
gosper | \(\frac {1}{5} b \,d^{3} x^{5}+\frac {1}{4} x^{4} a \,d^{3}+\frac {3}{4} x^{4} b c \,d^{2}+a c \,d^{2} x^{3}+b \,c^{2} d \,x^{3}+\frac {3}{2} x^{2} a \,c^{2} d +\frac {1}{2} b \,c^{3} x^{2}+a \,c^{3} x\) | \(73\) |
default | \(\frac {b \,d^{3} x^{5}}{5}+\frac {\left (a \,d^{3}+3 b c \,d^{2}\right ) x^{4}}{4}+\frac {\left (3 a c \,d^{2}+3 b \,c^{2} d \right ) x^{3}}{3}+\frac {\left (3 a \,c^{2} d +b \,c^{3}\right ) x^{2}}{2}+a \,c^{3} x\) | \(73\) |
risch | \(\frac {1}{5} b \,d^{3} x^{5}+\frac {1}{4} x^{4} a \,d^{3}+\frac {3}{4} x^{4} b c \,d^{2}+a c \,d^{2} x^{3}+b \,c^{2} d \,x^{3}+\frac {3}{2} x^{2} a \,c^{2} d +\frac {1}{2} b \,c^{3} x^{2}+a \,c^{3} x\) | \(73\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 69 vs.
\(2 (34) = 68\).
time = 0.26, size = 69, normalized size = 1.82 \begin {gather*} \frac {1}{5} \, b d^{3} x^{5} + a c^{3} x + \frac {1}{4} \, {\left (3 \, b c d^{2} + a d^{3}\right )} x^{4} + {\left (b c^{2} d + a c d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (b c^{3} + 3 \, a c^{2} d\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 69 vs.
\(2 (34) = 68\).
time = 0.30, size = 69, normalized size = 1.82 \begin {gather*} \frac {1}{5} \, b d^{3} x^{5} + a c^{3} x + \frac {1}{4} \, {\left (3 \, b c d^{2} + a d^{3}\right )} x^{4} + {\left (b c^{2} d + a c d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (b c^{3} + 3 \, a c^{2} d\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 73 vs.
\(2 (32) = 64\).
time = 0.04, size = 73, normalized size = 1.92 \begin {gather*} a c^{3} x + \frac {b d^{3} x^{5}}{5} + x^{4} \left (\frac {a d^{3}}{4} + \frac {3 b c d^{2}}{4}\right ) + x^{3} \left (a c d^{2} + b c^{2} d\right ) + x^{2} \cdot \left (\frac {3 a c^{2} d}{2} + \frac {b c^{3}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 72 vs.
\(2 (34) = 68\).
time = 0.00, size = 82, normalized size = 2.16 \begin {gather*} \frac {1}{5} x^{5} b d^{3}+\frac {3}{4} x^{4} b d^{2} c+\frac {1}{4} x^{4} a d^{3}+x^{3} b d c^{2}+x^{3} a d^{2} c+\frac {1}{2} x^{2} b c^{3}+\frac {3}{2} x^{2} a d c^{2}+x a c^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 65, normalized size = 1.71 \begin {gather*} x^2\,\left (\frac {b\,c^3}{2}+\frac {3\,a\,d\,c^2}{2}\right )+x^4\,\left (\frac {a\,d^3}{4}+\frac {3\,b\,c\,d^2}{4}\right )+\frac {b\,d^3\,x^5}{5}+a\,c^3\,x+c\,d\,x^3\,\left (a\,d+b\,c\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________